<template>
    <page-body >
        <view class="page" >
    <view class="flex benben-position-layout flex flex-wrap align-center customerorders_flex_0"    :style="{height:(88+StatusBarRpx)+'rpx',paddingTop:StatusBarRpx+'rpx', }">
            <view   class='flex flex-wrap align-center justify-between flex-sub customerorders_fd0_0'      >
            <view   class='flex flex-wrap align-center customerorders_fd0_0_c0'   @tap.stop="handleJumpDiy" data-type="back" data-url="1"   >
        <text class='fu-iconfont2  customerorders_fd0_0_c0_c0'    >&#xE794;</text>
</view>
    <view   class='flex flex-wrap align-stretch justify-center'      >
        <text class='customerorders_fd0_0_c1_c0'  >客户订单</text>
</view>
    <view   class='flex flex-wrap align-center justify-end customerorders_fd0_0_c0'      >
        </view>
</view>

        </view>
<view :style="{height: (88+StatusBarRpx)+'rpx'}"  ></view>
<benben-popup v-model="popupShow1719199109663" :mask="true" :mask-close-able="true"  mode='right' >
    <!---筛选弹窗flex布局开始-->
 <view class="flex flex-direction flex-wrap align-stretch benben-flex-layout customerorders_flex_1"    >
            <view   class='flex flex-wrap align-center justify-between customerorders_fd1_0'      >
        <text class='customerorders_fd1_0_c0'  >筛选</text>
</view>
    <view   class='flex flex-direction flex-wrap align-stretch flex-sub'      >
            <view   class='flex flex-wrap align-center justify-between customerorders_fd1_1_c0'      >
        <text class='customerorders_fd1_1_c0_c0'  >婚礼/活动日期</text>
</view>
    <view   class='flex align-center customerorders_fd1_1_c1'      >
            <view   class='flex flex-wrap align-center justify-center customerorders_fd1_1_c1_c0'      >
        <text   >开始日期</text>
</view>
        
            <view class='flex  customerorders_fd1_1_c1_c1'    ></view>
        
    <view   class='flex flex-wrap align-center justify-center customerorders_fd1_1_c1_c0'      >
        <text   >结束日期</text>
</view>
</view>
</view>
    <view   class='flex flex-direction flex-wrap align-stretch flex-sub'      >
            <view   class='flex flex-wrap align-center justify-center customerorders_fd1_2_c0'      >
        <button class='customerorders_fd1_2_c0_c0'  @tap.stop="resettingFunc()"  >重置</button>
<button class='customerorders_fd1_2_c0_c1'  @tap.stop="confirmFunc()"  >确认</button>
</view>
</view>
</view>
        
<!---筛选弹窗flex布局结束-->
    
</benben-popup>
<!--选择器开始 -->
        <benben-picker ref="benbenWritePickerCodepicker2" :visible.sync="pickerDiy1719199235784" :value.sync='startTime'  mode='date' :picker-height='88' :current='true' :mask-show='true' fields='day' :timeout='true' start-year='1990-01-01' end-year='2050-12-31'  >
            <template #picker-header>
        <view   class='flex flex-wrap align-center justify-between customerorders_picker2_0'      >
        <text   @tap="$refs.benbenWritePickerCodepicker2.cancel()" >取消</text>
<text   >时间选择</text>
<text class='customerorders_picker2_0_c2'  @tap="$refs.benbenWritePickerCodepicker2.pickerConfirm()" >确认</text>
</view>
</template>
        </benben-picker>
<!--选择器结束 -->
<!---flex布局flex布局开始-->
 <view class="flex flex-direction align-stretch benben-flex-layout"    >
            <view   class='flex flex-direction flex-wrap align-stretch customerorders_fd3_0'   @tap.stop="handleJumpDiy" data-type="navigateTo" :data-url="`/pages/grzx/scheduledetail/scheduledetail`"   >
            <view   class='flex flex-wrap align-center'      >
        <text   >婚纱编号：</text>
<text   >159951236</text>
</view>
    <view   class='flex flex-wrap align-center customerorders_fd3_0_c1'      >
        <image class='customerorders_fd3_0_c1_c0'  mode="aspectFill"  :src='STATIC_URL+"149.png"'></image>
    <view   class='flex flex-direction flex-wrap align-stretch flex-sub customerorders_fd3_0_c1_c1'      >
            <view   class='flex flex-wrap align-center customerorders_fd3_0_c1_c1_c0'      >
        <text   >张一一</text>
<text class='customerorders_fd3_0_c1_c1_c0_c1'  >15236988963</text>
<image class='customerorders_fd3_0_c1_c1_c0_c2'  mode="aspectFill"  :src='STATIC_URL+"153.png"'></image>
</view>
    <view   class='flex flex-wrap align-center customerorders_fd3_0_c1_c1_c1'      >
        <text class='customerorders_fd3_0_c1_c1_c1_c0'  >婚期时间：</text>
<text class='self-center'  >2024/07/04</text>
</view>
    <view   class='flex flex-wrap align-center'      >
        <text class='self-center customerorders_fd3_0_c1_c1_c1_c0'  >租赁档期：</text>
<text   >2024/07/04-2024/07/06</text>
</view>
</view>
</view>
</view>
</view>
        
<!---flex布局flex布局结束-->
    
    
        </view>
    </page-body>
</template>
<script>
    import pagingList from '@/common/mixin/paging_list.js';
import {validate} from '@/common/utils/validate.js'
    
    export default {
        components:{},
        mixins: [pagingList],
        
        data(){
			return {"pickerDiy1719199235784":false,"popupShow1719199109663":false,"minixPagingListsApi":"","pageingListApiMethod":"","allowOnloadGetList":false,"dataDrandList":[],"brand_id":"","min_price":"","max_price":"","sort_type":"desc","sort_field":"1","areaId":"","goods_List":[],"showId":"1","dataShopList":[],"startTime":"","keyword":"","cid":""};
		},
		computed:{
            
		},
		watch:{},
		onLoad(options){
            let {keyword,cid}=options
if (keyword !== undefined) this.keyword = keyword
if (cid !== undefined) this.cid = cid
this.queryDrandListFunc()
this.getListFunc()
		},
        onUnload() {
                
        },
		onReady(){
            
		},
		onShow(){
            
		},
		onHide(){
            
		},
		onResize(){
            
		},
		onPullDownRefresh(){
            
		},
		onReachBottom(e){
            
		},
		onPageScroll(e){
            
		},
		methods:{
                            //商品管理-获取品牌列表
                async queryDrandListFunc(){
                        //请求方法
    //数据验证
    
  let datadataDrandList = await this.$api.get(global.apiUrls.post63e36c4963fb8, {
    
  });
  
  if (datadataDrandList.data.code != 1) {
    this.$message.info(datadataDrandList.data.msg);
    return
  } 
  let infodataDrandList = datadataDrandList.data;
  this.dataDrandList = infodataDrandList.data
  
                },
                //重置
                 resettingFunc(){
                       this.brand_id = '';
   this.min_price = '';
   this.max_price = '';
    this.popupShow1719199109663 = false;
                },
                //确认
                 confirmFunc(){
                        this.popupShow1719199109663 = false;
                    this.getListFunc()
                },
                //商品管理-商品列表
                 getListFunc(){
                                    this.minixPagingListsApi = global.apiUrls.post64184ac1cafc3;
                this.pageingListApiMethod = 'get';
                this.allowOnloadGetList = false;
                this.pagingListPostDataContent = {keyword:this.keyword,order:this.sort_type,sort:this.sort_field,cid:this.cid,business_parameters:'synthesize',max_price:this.max_price,brand_id:this.brand_id,min_price:this.min_price,goods_type:'0',goods_area:this.areaId}
                this.listData = [];
                this.goods_List = this.listData;
                this.pagingListToggle();
                
                },
                //切换商品排序
                 switchShopListFunc(type){
                       this.sort_field = type;
    if( this.showId=='1'){
            if( this.sort_type=='desc'){
           this.sort_type = 'asc';
    }
    else if( this.sort_type=='asc'){
           this.sort_type = 'desc';
    }
                    this.getListFunc()
    }
    else{
            if( this.sort_type=='desc'){
           this.sort_type = 'asc';
    }
    else if( this.sort_type=='asc'){
           this.sort_type = 'desc';
    }
                    this.getShopListFunc()
    }
                },
                //商品搜索-获取店铺列表
                 getShopListFunc(){
                                    this.minixPagingListsApi = global.apiUrls.post641e88b843d57;
                this.pageingListApiMethod = 'get';
                this.allowOnloadGetList = false;
                this.pagingListPostDataContent = {keyword:this.keyword,is_goods:'1',goods_num:'3',sort:this.sort_field,order:this.sort_type}
                this.listData = [];
                this.dataShopList = this.listData;
                this.pagingListToggle();
                
                },
                //综合切换
                 switchComprehensiveFunc(){
                       this.sort_field = '1';
   this.showId = '1';
   this.sort_type = 'asc';
                    this.getListFunc()
                },
                pagingListPostData(){
                    return this.pagingListPostDataContent
                }
		}
    };
</script> 
<style lang="scss" scoped>
           .page{
            width: 100vw;
            overflow-x: hidden;
            min-height: calc(100vh - var(--window-bottom));
            background:#F8F8F8;background-size: 100% auto;
        }
    .customerorders_flex_0{
        border-bottom:1px solid #eee;background:#fff;width:750rpx;height:88rpx;overflow:hidden;z-index:10;top:0rpx;background-size:100% auto !important;
    }
    .customerorders_fd0_0_c1_c0{
        font-size:36rpx;font-weight:700;color:#333333;line-height:50rpx;
    }
    .customerorders_fd0_0_c0_c0{
        font-size:36rpx;color:#333;
    }
    .customerorders_fd0_0_c0{
        width:120rpx;
    }
    .customerorders_fd0_0{
        padding:0rpx 32rpx 0rpx 32rpx;
    }
    .customerorders_flex_1{
        background:#fff;width:566rpx;background-size:100% auto !important;position:relative;padding:120rpx 0rpx 0rpx 0rpx;
    }
    .customerorders_fd1_2_c0_c1{
        background:#E4C391;border-radius:0rpx 36rpx 36rpx 0rpx;font-size:28rpx;color:var(--benbenFontColor0);width:246rpx;height:72rpx;line-height:72rpx;margin:0rpx 0rpx 0rpx 18rpx;
    }
    .customerorders_fd1_2_c0_c0{
        background:#F9E4C3;border-radius:36rpx 0rpx 0rpx 36rpx;font-size:28rpx;color:var(--benbenFontColor0);width:246rpx;height:72rpx;line-height:72rpx;
    }
    .customerorders_fd1_2_c0{
        padding:24rpx 23rpx 24rpx 23rpx;position:absolute;top:1200rpx;
    }
    .customerorders_fd1_1_c1_c1{
        background:#999999;width:30rpx;height:1rpx;margin:0rpx 24rpx 0rpx 24rpx;transform:scaleY(0.5);border-radius:16rpx 16rpx 16rpx 16rpx;
    }
    .customerorders_fd1_1_c1_c0{
        border:1px solid #999999;border-radius:40rpx 40rpx 40rpx 40rpx;width:230rpx;height:72rpx;
    }
    .customerorders_fd1_1_c1{
        padding:0rpx 24rpx 0rpx 24rpx;
    }
    .customerorders_fd1_1_c0_c0{
        line-height:45rpx;font-size:28rpx;font-weight:700;color:#333333;
    }
    .customerorders_fd1_1_c0{
        margin:0rpx 24rpx 17rpx 32rpx;
    }
    .customerorders_fd1_0_c0{
        line-height:50rpx;font-size:32rpx;font-weight:700;color:#333333;margin:0rpx 0rpx 0rpx 32rpx;
    }
    .customerorders_fd1_0{
        background:#fff;margin:0rpx 0rpx 35rpx 0rpx;height:86rpx;background-size:100% auto !important;
    }
    .customerorders_picker2_0_c2{
        color:rgba(211, 152, 80, 1);
    }
    .customerorders_picker2_0{
        border-bottom:1px solid #eee;background:#fff;padding:0rpx 32rpx 0rpx 32rpx;line-height:88rpx;border-radius:25rpx 25rpx 0rpx 0rpx;background-size:100% auto !important;
    }
    .customerorders_fd3_0_c1_c1_c1_c0{
        color:rgba(170, 170, 170, 1);
    }
    .customerorders_fd3_0_c1_c1_c1{
        margin:24rpx 0rpx 24rpx 0rpx;
    }
    .customerorders_fd3_0_c1_c1_c0_c2{
        width:115rpx;height:34rpx;
    }
    .customerorders_fd3_0_c1_c1_c0_c1{
        margin:0rpx 24rpx 0rpx 24rpx;
    }
    .customerorders_fd3_0_c1_c1_c0{
        font-weight:600;
    }
    .customerorders_fd3_0_c1_c1{
        margin:0rpx 0rpx 0rpx 24rpx;
    }
    .customerorders_fd3_0_c1_c0{
        width:144rpx;height:184rpx;border-radius:16rpx;
    }
    .customerorders_fd3_0_c1{
        margin:24rpx 0rpx 0rpx 0rpx;
    }
    .customerorders_fd3_0{
        background:#FFFFFF;border-radius:24rpx 24rpx 24rpx 24rpx;padding:24rpx 24rpx 24rpx 24rpx;margin:24rpx auto 0rpx auto;width:686rpx;
    }
</style>